﻿using System.ComponentModel;

namespace TK.TSocket
{
    /// <summary>
    /// 数据类型
    /// </summary>
    public enum DataType
    {
        /// <summary>
        /// 连接
        /// </summary>
        [Description("连接")]
        Connect = 1,

        /// <summary>
        /// 断开
        /// </summary>
        [Description("断开")]
        DisConnect = 2,

        /// <summary>
        /// 数据接收
        /// </summary>
        [Description("数据接收")]
        Receive = 3,

        /// <summary>
        /// 其他消息
        /// </summary>
        [Description("其他消息")]
        Other = 4,
    }
}
